.navbar {
  .nav > li > a {
    font-size: 15px;
    font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", SimHei, sans-serif;
    font-weight: bold;
  }
}

#login-dropdown {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
}

#main-container {
  width: 960px;
  margin-top: 60px;
  margin-bottom: 20px;
  #footer {
    color: silver;
    text-align: center;
  }
}

.help-inline span {
  margin-left: 5px;
}

.global .home {
  .block {
    border: 2px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 20px;
  }

  #main {
    padding: 40px;
    font-size: 18px;
    font-weight: 200;
    line-height: 30px;
    h1 {
      font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", SimHei, sans-serif;
    }
  }

  #recent-discuss {
    padding: 15px;
    table {
      th, td {
        text-align: center;
      }
      .title {
        text-align: left;
      }
    }
  }

  #user-block {
    padding: 15px;
    .left-block {
      .user-avatar {
        margin-top: 5px;
        a {
          display: block;
          text-align: center;
          img {
            border: 1.5px solid gainsboro;
            border-radius: 10px;
          }
        }
      }
      .user-handle {
        margin-top: 2px;
        text-align: center;
      }
    }
    .right-block {
      padding-bottom: 5px;
      padding-left: 3px;
      .detail-row {
        margin-top: 5px;
        .left-column {
          display: inline-block;
          width: 100px;
          font-weight: bold;
        }
        .right-column {
          display: inline-block;
        }
      }

    }
  }

  #search-block {
    padding: 15px;
  }

  #top-users, #hot-problems {
    .title {
      font-size: 20px;
      text-align: center;
      padding-top: 10px;
      padding-bottom: 10px;
      font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", SimHei, sans-serif;
    }
    th, td {
      text-align: center;
    }
  }
}

.global .add_problem_help {
  h2, h3 {
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", SimHei, sans-serif;
  }
  h2 {
    text-align: center;
  }
}

.global .markdown_help {
  width: 75%;
  margin: 0 auto;
  h2, h3 {
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Microsoft YaHei", SimHei, sans-serif;
  }
  h2 {
    text-align: center;
  }
  .markdown-example {
    .preview:after, .markdown:after, .html:after {
      position: absolute;
      top: -1px;
      left: -1px;
      padding: 3px 7px;
      font-size: 12px;
      font-weight: bold;
      background-color: #f5f5f5;
      border: 1px solid #ddd;
      color: #9da0a4;

    }
    .preview {
      position: relative;
      margin: 15px 0;
      padding: 39px 19px 14px;
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 4px 4px 0 0;
    }
    .preview:after {
      content: "Preview";
      border-radius: 4px 0 4px 0;
    }
    .markdown {
      position: relative;
      margin-top: -20px;
      padding-top: 35px;
      padding-bottom: 20px;
      border-radius: 0;
      background: white;
    }
    .markdown:after {
      content: "Markdown";
      border-radius: 0 0 4px 0;
    }
    .html {
      position: relative;
      margin-top: -20px;
      padding-top: 35px;
      border-radius: 0 0 4px 4px;
    }
    .html:after {
      content: "HTML";
      border-radius: 0 0 4px 0;
    }
  }
}

.global .judge_machines {
  table {
    width: 500px;
    margin: 0 auto 10px auto;
    th, td {
      text-align: center;
      vertical-align: middle;
    }
  }
}
